package com.gzsxy.sso.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.sso.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *   用户角色实体类
 * @author zxl
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_role")
@ApiModel(value="Role对象", description="")
public class Role extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色说明")
    private String roleExplain;

    @ApiModelProperty(value = "角色代码")
    private String code;

    @ApiModelProperty(value = "拼音码")
    private String scode;

    @ApiModelProperty(value = "排序id")
    private Integer orderId;

    @ApiModelProperty(value = "是否超级管理员（0否1是）")
    private Boolean isSadmin;

    @ApiModelProperty(value = "是否系统管理员（0否1是）")
    private Boolean isAdmin;


}
